package com.biz.impl;

import com.dao.BdTeamCodeLogDao;
import com.entity.model.BdTeamCodeLog;
import com.biz.BdTeamCodeLogBiz;
import com.core.AbstractBiz;
import com.util.webpage.PageData;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;


/**
 * Created by jc on 2019/11/23.
 */
@Service
@Transactional
public class BdTeamCodeLogBizImpl extends AbstractBiz<BdTeamCodeLog> implements BdTeamCodeLogBiz {
    @Resource
    private BdTeamCodeLogDao bdTeamCodeLogDao;

    public BdTeamCodeLog getByCode(String code){
        return bdTeamCodeLogDao.getByCode(code);
    }

    public List<BdTeamCodeLog> codeList(PageData cond){
        return  bdTeamCodeLogDao.codeList(cond);
    }
}
